Mint\MRM\DataBase\Models\ContactModel D

Total Complexity 130
Dependencies 12
Dependents 30
Total lines 1,105
Lines of code 607
Logical lines of code 340
Comment lines 400
Methods 38
Properties 0

Methods 38

Method Rating Maintainability Complexity Lines of code
get_filtered_contacts()
C
35 25 72
record_unsubscribe()
A
50 9 26
remove_form_entries_for_deleted_contact()
A
51 8 26
get_contact_data_by_email()
S
57 7 15
update()
S
45 5 45
insert()
S
47 5 35
contact_information_to_shop_order()
S
55 6 19
update_meta_fields()
S
49 5 33
get_all()
S
47 5 32
get()
S
58 5 14
destroy_all()
S
53 4 22
is_contact_ids_exists()
S
58 3 14
is_contact_meta_exist()
S
59 3 13
is_contact_meta_key_exist()
S
59 3 13
get_total_count()
S
52 2 22
destroy()
S
57 2 17
is_contact_source_by_form()
S
66 3 9
get_form_id_by_source()
S
66 3 8
get_user_id_by_wp_user_id()
S
58 2 15
get_contact_total()
S
59 2 15
get_single_email()
S
63 3 9
mrm_contact_custom_attributes()
S
53 1 28
get_meta()
S
62 2 10
get_contact_full_name()
S
69 2 6
is_contact_exist_by_id()
S
63 2 10
insert_form_submission()
S
62 1 11
update_contact_status()
S
67 1 7
get_meta_value_by_key()
S
71 1 5
get_contact_email_by_id()
S
71 1 5
get_by_hash()
S
71 1 5
is_contact_exist()
S
69 1 6
get_email_by_id()
S
71 1 5
get_contact_source_by_id()
S
71 1 5
get_contact_by_email()
S
71 1 5
get_contacts_count()
S
71 1 5
get_id_by_email()
S
69 1 6
get_contacts_status_count()
S
71 1 5
update_subscription_status()
S
65 1 9